package com.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.common.R;
import com.mall.entity.SmoothMallCart;
import com.mall.entity.dto.SmoothMallCartDto;

import java.util.List;

public interface SmoothMallCartService extends IService<SmoothMallCart> {
    public boolean addToCart(Integer productId,Integer count);
    public List<SmoothMallCartDto> getListByUserId();
    public boolean deleteCart(Integer productId);
    public List<SmoothMallCartDto> selectForCart(Integer productId,Integer selectId);
}

